package com.gz.furnitures.service;

import com.gz.furnitures.entity.Furn;
import com.gz.furnitures.entity.Page;

import java.util.List;

public interface FurnsService {
    public List<Furn> queryFurns();

    public int addFurn(Furn furn);

    public int deleteFurnById(int Id) ;

    public Furn queryFurnById(int Id);

    public int updateFurn(Furn furn);

    public Page<Furn> page(int pageNo, int pageSize);

    public Page<Furn> pageByName(int pageNo,int pageSize,String name);
}
